package resources

import (
	"github.com/gin-gonic/gin"
	"openeuler.org/PilotGo/PilotGo-plugin-automation/internal/module/resources/controller"
)

func ResourcesHandler(router *gin.RouterGroup) {
	api := router.Group("/resources")
	{
		hosts := api.Group("/hosts")
		{
			hosts.GET("/query", controller.GetResourceHosts)
		}
	}
}
